package com.css.common.core.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * <h1>安全校验过滤相关</h1>
 */
public class SecurityUtils {
    public final static List<String> WHITELIST = new ArrayList<>();//白名单

    static {
        WHITELIST.add("/**/mh/login");//登录
        WHITELIST.add("/**/mh/logout");//登出
        WHITELIST.add("/**/swagger-ui/");
        WHITELIST.add("/**/swagger-ui");
        WHITELIST.add("/**/swagger-ui.html");
        WHITELIST.add("/**/api-docs");
        WHITELIST.add("/**/invoice/simple/test");
        WHITELIST.add("/**/wxtjr/ddxx/downloadFp");//提供外系统接口
        WHITELIST.add("/**/wxtjr/ddxx/queryDdzt");//提供外系统接口
        WHITELIST.add("/**/wxtjr/ddxx/fphk");//提供外系统接口
        WHITELIST.add("/**/pay/callback/notify"); // 银联回调
        WHITELIST.add("/**/pay/callback/kp");
        WHITELIST.add("/**/pay/callback/hc");
        WHITELIST.add("/**/pay/callback/hk");
        WHITELIST.add("/**/pay/callback/rkp");
        WHITELIST.add("/**/pay/callback/ye");
        WHITELIST.add("/**/pay/callback/queryJsxx");
        WHITELIST.add("/**/pay/callback/queryJsQrCode");
        WHITELIST.add("/**/pay/callback/taxReturn");
        WHITELIST.add("/**/pay/callback/taxReturnStatus");
        WHITELIST.add("/**/tapi/v1/netpay/bills/get-qrcode");
        WHITELIST.add("/**/pay/callback/csbNotify");
        WHITELIST.add("/**/wxtjr/ddxx/fphkStandard");
        WHITELIST.add("/**/invoice/qywebOrderinformation/getDdxx");//获取订单信息
        WHITELIST.add("/**/invoice/qywebOrderinformation/getDdkpzt");//获取订单开具状态
        WHITELIST.add("/**/wxtjr/ddxx/v2/fphkStandard"); //换开v2
        WHITELIST.add("/**/pay/callback/miniProgramsPayNotify");
        WHITELIST.add("/**/tapi/v2/netpay/bills/get-qrcode");
        WHITELIST.add("/**/tapi/v1/netpay/wx/unified-order");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/unified-order");
        WHITELIST.add("/**/pay/callback/gzhNotify");
        WHITELIST.add("/**/tapi/v6/poslink/transaction/pay");
        WHITELIST.add("/**/users/reg/register");
        WHITELIST.add("/**/users/reg/getYhxxByToken");
        WHITELIST.add("/**/invoice/captcha/createCaptcha");
        WHITELIST.add("/**/invoice/login/api/login");
        WHITELIST.add("/**/invoice/system/queryRlsb");
        WHITELIST.add("/**/users/reg/checkPassword");
        WHITELIST.add("/**/wx/urlLink");
        WHITELIST.add("/**/invoice/login/logout");
        WHITELIST.add("/**/order/kp");
        WHITELIST.add("/**/users/reg/resetLoginPassword");
        WHITELIST.add("/**/api/fxkp/createOrder");
        WHITELIST.add("/**/api/fxkp/payAndKpSubmit");
        WHITELIST.add("/**/api/fxkp/orderStatus");
        WHITELIST.add("/**/api/fxkp/orderCancel");
        WHITELIST.add("/**/api/fxkp/queryOrderInvoice");
        WHITELIST.add("/**/api/fxkp/orderRed");
        WHITELIST.add("/**/api/fxkp/lpjg");
        WHITELIST.add("/**/yegl/tempQueryJyxx");
        WHITELIST.add("/**/api/fxkp/createOrder01");
        WHITELIST.add("/**/wx/revice");
        WHITELIST.add("/**/tapi/v1/netpay/bills/query");
        WHITELIST.add("/**/wxtjr/ddxx/queryOrderPayStatus");
        WHITELIST.add("/**/tapi/v1/netpay/bills/refund");
        WHITELIST.add("/**/invoice/system/updateRlsb");
        WHITELIST.add("/**/users/smrz/valSmrz");

        WHITELIST.add("/**/tapi/v1/netpay/refund-query");
        WHITELIST.add("/**/tapi/v1/netpay/query");
        WHITELIST.add("/**/tapi/v1/netpay/refund");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/refund-query");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/query");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/refund");
        WHITELIST.add("/**/tapi/v1/netpay/trade/create");
        WHITELIST.add("/**/tapi/v1/netpay/uac/mini-order");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/trade/create");
        WHITELIST.add("/**/tapi/v1/netpay/wxhtxd/acp/js-pay");
        WHITELIST.add("/**/doc.html");
        WHITELIST.add("/**/webjars");
        WHITELIST.add("/**/favicon.ico");
        WHITELIST.add("/**/swagger-resources");
        WHITELIST.add("/**/invoice/captcha/verifyCaptcha");
        WHITELIST.add("/**/homepage-parameters/all");
        WHITELIST.add("/**/verify/validateInit");
        WHITELIST.add("/**/users/smrz/saveSmrzxx");
        WHITELIST.add("/**/subaccount/save/zzh");

    }

}
